package news.yp.newsproject.presenter.presenter;

import com.news.yp.baselibrary.base.BasePresenter;

import news.yp.newsproject.presenter.model.MoonModel;

/**
 * moon 的p 层
 */
public class MoonPresenter extends BasePresenter<CenterPresenter.ViewPresenter> {

    private final MoonModel moonModel;

    public MoonPresenter() {
        moonModel = new MoonModel();
    }

    public void getData() {
        getView().onLoading();
        moonModel.getData();
    }
}
